/**/
package com.vcredit.creditcat.persistence.base;

import java.util.List;

import com.vcredit.creditcat.model.ProductBusinessStatus;
import com.vcredit.creditcat.framework.pagination.Criteria;

public interface ProductBusinessStatusMapper {
    
  List<ProductBusinessStatus> findByPage(Criteria criteria);
    
  Long findByPageCount(Criteria criteria);
    
  List<ProductBusinessStatus> find(ProductBusinessStatus productBusinessStatus);

  ProductBusinessStatus findById(Long productBusinessId);

  ProductBusinessStatus findByProductId(Long productId);
	
  List<ProductBusinessStatus> findAll();
	
  void insert(ProductBusinessStatus ProductBusinessStatus);
	
  void update(ProductBusinessStatus ProductBusinessStatus);
	
  void delete(Long productBusinessId);

}
